-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(components): menu item migrate to fast #636
Conversation
|
||
```html preview center | ||
`placement` property from _popup_ propagate through _menu_ and sets its position in accordance to its anchor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue in popup?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the popup is OK, it sets the position relative to the anchor and the vwc-button
as an anchor had a strange height cause its not "block" element.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, should be fixed in button then. opened #695
box-sizing: border-box; | ||
align-items: center; | ||
background-color: var(#{appearance.get-appearance-token(fill)}); | ||
block-size: $min-block-size; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
font: var(#{constants.$vvd-font-base}); | ||
gap: $gap; | ||
hyphens: auto; | ||
inline-size: 100%; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is great - but doesn't get the width that is set on menu....
The menu width + line break is not working well :(
`anchor` property from _popup_ propagate through _menu_ and sets its anchor reference. | ||
|
||
- Type: `string` | ||
- Default: `''` | ||
|
||
```html preview center | ||
<div style="position: relative"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw the related issues that you open regarding issues related.
LGTM at this point :)
this PR introduces a new method circumventing the context lock-down to plain text by assigning textContent member to template instead of the convention of text property